﻿using Entitas;
using Entitas.CodeGeneration.Attributes;
using System.Collections.Generic;

public partial struct NameComponent : IComponent
{
    [PrimaryEntityIndex]
    public string value;
}
[Event(EventTarget.Self)]
public partial struct HitPointComponent : IComponent
{
    public int value;
}
[Event(EventTarget.Self)]
public partial struct PositionComponent : IComponent
{
    public EntitasVec3 value;
}
public partial struct SpeedComponent : IComponent
{
    public float value;
}
public partial struct AttackTimerComponent : IComponent
{
    public float value;
}

public partial struct AttackingComponent : IComponent
{

}
public partial struct DirectionComponent : IComponent
{
    public Direction value;
}

[Event(EventTarget.Self)]
public partial struct EquippedWeaponComponent : IComponent
{
    public IWeapon value;
}

public partial struct InventoryComponent: IComponent
{
    public Dictionary<IItem, int> value;
}

public partial struct OwnerComponent: IComponent
{
    [EntityIndex]
    public string value;
}

public partial struct TargetInformationComponent : IComponent
{
    public string Name;
    public string ContextName;
}
public partial struct ExpirationTimeComponent : IComponent
{
    public float value;
}
public partial struct BaseViewComponent : IComponent
{
    public IBaseView value;
}

public partial struct DamageComponent: IComponent
{
    public int value;
}
public partial struct ProjectileComponent : IComponent
{
}

public partial struct BattleEngagedComponent: IComponent
{

} 

public partial struct RoamingTimerComponent: IComponent
{
    public float value;
}

public partial struct RoamingComponent: IComponent
{

}

public partial struct RoamingAngleComponent : IComponent
{
    public float value;
}
public partial struct SpawnPositionComponent : IComponent
{
    public EntitasVec3 value;
}
public partial struct AnimatorComponent: IComponent
{
    public IAnimator Value;
}
[Event(EventTarget.Self)]
public partial struct SpriteFlipComponent: IComponent
{
    public bool FlipX;
    public bool FlipY;
}







